package main
import(
	"fmt";
	"strconv"
)

func main(){
	n,err := strconv.Atoi("123")
	if(err != nil){
		fmt.Println("转换错误")
	}else{
		fmt.Println(n)
	}

	n1 := strconv.Itoa(1234)
	fmt.Printf("n1 = %v,size is %T \n",n1,n1)

	var bytes = []byte("hello")
	fmt.Printf("bytes = %v \n",bytes)

	var strByte = string([]byte{97,98,99})
	fmt.Printf("strByte = %v \n",strByte)
}